<template>
  <div class="img-box wx_image">
    <el-image fit="contain" :src="obj.imgUrl" :preview-src-list="[obj.imgUrl]">
      <div slot="error" class="image-slot">
        <i class="el-icon-picture-outline"></i>
      </div>
    </el-image>
    
  </div>
</template>

<script>
export default {
  props:{
    isMe:{
      type:Boolean,
      default:function(){
        return false;
      }
    },//本组件中无用,与其他组件保持格式相同用
    obj:{
      mediaId:String,//临时素材库Id
      title:String,//标题
      abstract:String,//摘要
      imgUrl:String,//缩略图URL
      fileUrl:String,//视频存储在七牛的URL
      eS_Company_Id:String,//素材上传到的企业微信Id
      addTime:String,//添加时间
      editTime:String,//修改时间
    },
  },
  data(){
    return {
      msgtype:'image',
    }
  },
  methods:{
    
  },
  mounted(){},
}
</script>

<style lang="less" scoped>
.wx_image{
  position: relative;
  display: inline-block;
  max-width:260px;
}


</style>